<?php loadTemp("admin/models/general/general_header.php")?>
<script type="text/javascript">
$(document).ready(function(){
	loadAdminTopItem();
	activeAdminTopItem("s_c_general");
    var data = JSON.parse($(".s_temple_setting.admin_general_total").html());
    $.each(data.data,function(k,v){
    	s_a_g_t_addData(k,v);
    });
});

function s_a_g_t_addData(name,value){
	var tr = $("<tr>");
	tr.append($("<th>").html(name));
	tr.append($("<th>").html(value));
	$("#s_a_t_tbody").append(tr);
}


</script>
<div class="s_temple_setting admin_general_total"><?php print_json_setting("admin_general_total");?></div>
<div class="s_admin_in_container">
	<h2 class="ui dividing header">统计信息</h2>
	<div class="ui message">
		<div class="header">小提示</div>
		<ul class="list">
			<li>这里是统计面板</li>
		</ul>
	</div>
	<table class="ui unstackable striped table">
		<thead>
			<tr>
				<th>名称</th>
				<th>数据</th>
			</tr>
		</thead>
		<tbody id="s_a_t_tbody">
		</tbody>
	</table>
</div>
